package com.lzl.service.impl;

import com.lzl.entity.Supplier;
import com.lzl.mapper.SupplierMapper;
import com.lzl.mapper.SysUserMapper;
import com.lzl.service.SupplierService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("supplierService")
public class SupplierServiceImpl implements SupplierService {
    private static final Logger LOGGER = LoggerFactory.getLogger(SysUserServiceImpl.class);
    // @Resource
    @Autowired
    private SupplierMapper supplierMapper;


    @Override
    public List<Supplier> findList(Supplier supplier) {
        return supplierMapper.getSupplierList(supplier);
    }
}
